<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core" template="maintemplate.xhtml">
    <ui:define name="content">
        <!--Fancy stuff: data or similar with nice borders and green colors-->
        <div id="mainwrapper">
            <div id="infoheader">
                <table>
                    <tr>
                        <td>
                            <h:outputLabel value="Local server time: " />
                            <h:outputText value="#{serverInfoSupportBean.serverLocalTime}" />
                        </td>
                        <td><h:outputLabel value="Server started running: " />
                            <h:outputText value="#{serverInfoSupportBean.serverStartTime}" />
                        </td>
                    </tr>
                </table>
            </div>
            <div id="admintoolbar">
                <h:form>
                    <h:commandLink value="[ Log out ]" action="#{loginBean.logout}" />
                </h:form>
            </div>
            <ui:insert name="admincontent" id="admincontent"></ui:insert>
        </div>
    </ui:define>
</ui:composition>

